<link rel="stylesheet" href="../Public/js/editor/plugins/code/prettify.css" />
<script charset="utf-8" src="../Public/js/editor/kindeditor-min.js"></script>
<script charset="utf-8" src="../Public/js/editor/lang/zh_CN.js"></script> 
<script charset="utf-8" src="../Public/js/editor/plugins/code/prettify.js"></script>
<div class="content-box">
  <div class="content-box-header">
    <h3 style="cursor: s-resize; ">添加内容</h3>
    <ul class="content-box-tabs">
      <li><a class="default-tab current" href="#tab1">文章模型</a></li>
      <li><a class="" href="#tab2">产品模型</a></li>
      <li><a class="" href="#tab4">招聘模型</a></li>
      <li><a class="" href="#tab4">单页模型</a></li>
    </ul>
    <div class="clear"></div>
  </div>
  <div class="content-box-content"> 
    
    <!-- 文章模型 start -->
    <div class="tab-content default-tab" id="tab1">
      <form action="" method="post">
        <p>
          <label>标题</label>
          <input type="text" class="text-input medium-input" name="name"  value="{$category.name}">
          <select>
            <option value="0">标题样式</option>
            <option value="1">加粗</option>
            <option value="2">斜体</option>
            <option value="3">下划线</option>
          </select>
        </p>
        <p>
          <label>标题颜色</label>
          <input type="text" name="title_color"id="title_color" class="text-input small-input" style="float:left" value="rgb(0, 0, 0)">
          <include file="Public:color" /><br />
        <div class="clear"></div>
        <small style="color: #777;font-size: 0.75em;">* 默认为黑色。点击后面的小图片即可更换颜色，也可以自己填写</small>
        </p>
        <div class="clear"></div>
        <p>
          <label>标志</label>
          <input type="checkbox">
          精华
          <input type="checkbox">
          推荐
          <input type="checkbox">
          火爆 </p>
        <p>
          <label>来源</label>
          <input type="text" name="title_color" class="text-input medium-input" />
          <br />
          <small>* 该文章的来源，如果没有可以为空</small> </p>
        <p>
          <label>作者</label>
          <input type="text" name="title_color" class="text-input medium-input" />
          <br />
          <small>* 该文章的作者，如果没有可以为空</small> </p>
        <p>
          <label>发布栏目</label>
          <select class="small-input">
            <option value="0">标题样式</option>
            <option value="1">加粗</option>
            <option value="2">斜体</option>
            <option value="3">下划线</option>
          </select>
        </p>
        <p>
          <label>页面关键字（SEO）</label>
          <input type="text" name="title_color" class="text-input large-input" />
          <br />
          <small>* 该篇文章的关键词，可以提升搜索引擎的收录。用,分割</small> </p>
        <p>
          <label>页面描述（SEO）</label>
          <input type="text" name="title_color" class="text-input large-input" />
          <br />
          <small>* 该篇文章的简要描述，搜索引擎搜索时的显示文字。</small> </p>
        <p>
          <label>内容</label>
          <script>
           KindEditor.ready(function(K) {
				var editor1 = K.create('#content', {
					cssPath : '../Public/js/editor/plugins/code/prettify.css',
					uploadJson : '__URL__/editorUploads',
					fileManagerJson : '__URL__/fileManager',
					allowFileManager : true,
					themeType : 'simple',
				});
				prettyPrint();
			});
          </script>
          <textarea name="content" id="content" style="width:97.5% !important;height:300px;visibility:hidden;"></textarea>
        </p>
      </form>
    </div>
    <!-- 文章模型 end -->
    
    <div class="tab-content" id="tab2">
      <p>
        <input class="button" type="submit" value="保存2">
      </p>
    </div>
    <div class="tab-content" id="tab3">
      <p>
        <input class="button" type="submit" value="保存3">
      </p>
    </div>
    <div class="tab-content" id="tab4">
      <p>
        <input class="button" type="submit" value="保存4">
      </p>
    </div>
  </div>
</div>
